#include "ALEventSink.h"
#ifndef PHEVCONSUMEH
#define PHEVCONSUMEH
class CPHEventConsumer
{
public:
	CPHEventConsumer()
	{
		m_pStartSink=NULL;
		m_pSvc=NULL;
		
		m_pStopSink=NULL;
	}
	
	/*Release the event sinks*/
	~CPHEventConsumer()
	{
		if(m_pStartSink)
			m_pStartSink->Release();
		if(m_pStopSink)
			m_pStopSink->Release();

	}
	BOOL Connect();
	bool Setup();
	CALEventSink*	m_pStartSink;
	CALEventSink*	m_pStopSink;

	IWbemServices*	m_pSvc;
};
#endif